runtime.workType.nwait (field)
7 uses
runtime (current package)
mgc.go#L345: nwait uint32
mgc.go#L819: if !(gcphase == _GCmark && work.nwait == work.nproc && !gcMarkWorkAvailable(nil)) {
mgc.go#L1243: work.nwait = ^uint32(0)
mgc.go#L1349: decnwait := atomic.Xadd(&work.nwait, -1)
mgc.go#L1405: incnwait := atomic.Xadd(&work.nwait, +1)
mgcmark.go#L556: decnwait := atomic.Xadd(&work.nwait, -1)
mgcmark.go#L583: incnwait := atomic.Xadd(&work.nwait, +1)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |